Details for this torrent 


MacOSXRunProtectedApplication when using Viscosity VPN
Type:
Applications > Mac
Files:
2
Size:
1.19 KB

Tag(s):
scripts apple vpn viscosity

Uploaded:
Jul 13, 2013
By:
Yazkas10



MacOSXRunProtectedApplication.applescript

# 2012/09/13
#
# This script starts 'myProtectedApplication'.
#
# To hook it into Viscosity, open the 'Preferences' window, edit
# the according VPN connection and switch to the 'Advanced' tab.
# Click 'Select' next to the 'Connected Script' text field and
# point to this script.
#
# Combined with MacOSXRunProtectedApplication.applescript this
# script protects 'myProtectedApplication' from being run when
# the VPN is disconnected.

These two scripts( run and quit )start utorrent when you start ViscosityVPN, and if vpn drops, second script close utorrent. 

Open scripts in scrip-editor, theres is information how to use those.